/**
 * Created by 89003522 on 2017/10/30.
 */
//定义类
export default class StdInfo {
    constructor(name,age){
        this.name = name;
        this.age = age;
    }
    //定义在类中的方法不需要添加function
    say(){
        return "name："+this.name+"\tage:"+this.age;
    }
}